# Contributor: Paul Bredbury <brebs@sent.com>
# Maintainer:
pkgname=awslogs
pkgver=0.14.0
pkgrel=1
pkgdesc="AWS CloudWatch log retriever"
url="https://github.com/jorgebastida/awslogs"
arch="noarch"
license="BSD-3-Clause-Attribution"
depends="py3-boto3 py3-jmespath py3-termcolor py3-dateutil"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/jorgebastida/awslogs/archive/$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --root="$pkgdir"

	rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests
}

sha512sums="
73f7d4e983b0a1658027aa88174ced0d2760823463c67832303be72b174ecdfbf6aabd73342634e233afd7736c57d397b55f0db89d0c59392145062de8868241  awslogs-0.14.0.tar.gz
"
